package com.zhl.test1;

public class People {
    private int code; //编号
    private int localtion;  //位置

    public int getCode() {
        return code;
    }

    @Override
    public String toString() {
        return "People{" +
                "code=" + code +
                ", localtion=" + localtion +
                '}';
    }

    public People() {
    }

    public People(int code, int localtion) {
        this.code = code;
        this.localtion = localtion;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getLocaltion() {
        return localtion;
    }

    public void setLocaltion(int localtion) {
        this.localtion = localtion;
    }
}
